home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Money in the 90s
/
Money in the 90s - Windows (Laser Resources, Inc.)(1994).iso
/
si.zip
/
SMART.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-10-25
|
2KB
|
68 lines
@echo off
if EXIST setups.bat call setups
if not exist rebootsi.bat goto NOREBOOT
call rebootsi.bat
:NOREBOOT
if exist MARKER.SI goto MARKER
echo SI > MARKER.SI
cd program
if EXIST prepgm.bat call prepgm
if EXIST dproc.exe del dproc.exe
systest 3.3 492 2000 25 15
if ERRORLEVEL == 5 goto VideoError
if ERRORLEVEL == 4 goto FilesRanOut
if ERRORLEVEL == 3 goto DiskSpaceRanOut
if ERRORLEVEL == 2 goto MemoryRanOut
if ERRORLEVEL == 1 goto BadDOSVersion
%LOADHI% btrieve /M:32 /P:2048 /B:10 /F:10
investor 8005 %1 %2 %3 %4 %5 %6 %7 %8 %9
if ERRORLEVEL == 255 goto xpause
if ERRORLEVEL == 254 goto xpause
if ERRORLEVEL == 253 goto xpause
if ERRORLEVEL == 252 goto xpause
if ERRORLEVEL == 251 goto xpause
if ERRORLEVEL == 250 goto xpause
if ERRORLEVEL == 249 goto xpause
if ERRORLEVEL == 248 goto xpause
if ERRORLEVEL == 247 goto xpause
if ERRORLEVEL == 246 goto xpause
if ERRORLEVEL == 245 goto xpause
if ERRORLEVEL == 244 goto xpause
if ERRORLEVEL == 243 goto BadDOSVersion
if ERRORLEVEL == 242 goto FilesRanOut
if ERRORLEVEL == 241 goto DiskSpaceRanOut
if ERRORLEVEL == 240 goto MemoryRanOut
goto zexit
:BadDOSVersion
if exist ..\e_dos.bat call ..\e_dos.bat
goto zexit
:FilesRanOut
if exist ..\e_files.bat call ..\e_files.bat
goto zexit
:DiskSpaceRanOut
if exist ..\e_disk.bat call ..\e_disk.bat
goto zexit
:MemoryRanOut
if exist ..\e_mem.bat call ..\e_mem.bat
goto zexit
:VideoError
if exist ..\e_video.bat call ..\e_video.bat
goto zexit
:MARKER
if exist e_marker.bat call e_marker.bat
goto END
:xpause
if exist ..\e_misc.bat call ..\e_misc.bat
:zexit
if EXIST postpgm.bat call postpgm
cd..
del MARKER.SI
if EXIST cleanup.bat call cleanup
:END